/*
  [
    {
      "id": 1,
      "name": "图书、音像、电子书刊"
    },
  ]
*/
export interface CategoryItem {
  id: number;
  name: string;
  level?: number;
  hasChildren?: boolean;
  children?: CategoryList;
}

export type CategoryList = CategoryItem[];

export interface Category {
  category1List: CategoryList;
  category2List: CategoryList;
  category3List: CategoryList;
  category1Id: number | undefined;
  category2Id?: number;
  category3Id?: number;
}
